package cc.autoapi.pucong.auto.flow.provider.api.entity.vo;

import cc.autoapi.pucong.auto.flow.core.root.selfenum.ApiTypeEnum;
import cc.autoapi.pucong.auto.flow.core.root.selfenum.CommonBoolenEnum;
import lombok.Data;

import java.io.Serializable;

/**
* @author pucong
 * @url https://gitee.com/pucong
* @create 2023-05-31
*/
@Data
public class ApiTreeVo implements Serializable {

    private static final long serialVersionUID = 1L;

    private String uuid;

    private String nodeName;

    private String nodeCode;

    private String parentId;

    private Integer sortIndex;

    /**
     * 类型 0分类 1节点
     */
    private Integer treeType;

    /**
     * 服务类型 0api 1cron
     */
    private Integer serviceType;

    private ApiTypeEnum apiType;
    /**
     * 是否启用 1启用 0未启用
     */
    private CommonBoolenEnum whetherEnable;
}
